GBML manual / Constants

DOOR_TWO_WAY

Two-way - this door both sends (Enter) and receives (Exit).

Sega Genesis: not built yet

On other consoles this differs: see Side by side and How the consoles differ.

Syntax

DOOR_TWO_WAY: constant

Description

The door mode that both sends (acts as an Enter door) and receives (acts as an Exit door) - every door's own default until door_set_mode says otherwise, or an editor-placed door is explicitly given a different mode.

Example

door_set_mode(4, DOOR_TWO_WAY);

Sets the door whose door_id is 4 back to ordinary two-way behavior.

See also: door_set_modedoor_modeDOOR_ENTER_ONLYDOOR_EXIT_ONLY